//获取openId
export function getOpenId(params) {
	return uni.$u.http.get('/get-openid/', {
		params
	})
}

//绑定手机号
export function bindPhone(data) {
	return uni.$u.http.post('/user/', data)
}

//openId获取用户详情
export function getUserInfo(params) {
	return uni.$u.http.get('/user/', {
		params
	})
}

//code获取用户手机
export function getUserPhoneNum(params) {
	return uni.$u.http.get('/get-phone-number/', {
		params
	})
}